package td.data {
	import td.Global.updata;
	public class UserData {
		private var _sUName:String;
		private var _nUMoney:Number;
		private var _nUHP:Number;
		
		private var globalUpdate:updata = updata.getInstance();
		public function UserData(uname:String,umoney:Number,uhp:Number) {
			_sUName = uname;
			_nUMoney = umoney;
			_nUHP = uhp;
			globalUpdate.userData = this;
		}
		
		public function get nUMoney():Number { return _nUMoney; }
		
		public function set nUMoney(value:Number):void 
		{
			_nUMoney = value;
		}
		
		public function get nUHP():Number { return _nUHP; }
		
		public function set nUHP(value:Number):void 
		{
			_nUHP = value;
		}
	}
}